﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
23850	Test failure in migrations tests on OS X	Julien Phalip	nobody	"I'm seeing a test failure on Python 3.3.6 and 3.4.2 (it passes with 2.7.3):

{{{
======================================================================
FAIL: test_makemigrations_with_custom_name (migrations.test_commands.MakeMigrationsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""/django/tests/migrations/test_commands.py"", line 545, in test_makemigrations_with_custom_name
    content = cmd(""0002"", migration_name_0002, ""--empty"")
  File ""/django/tests/migrations/test_commands.py"", line 531, in cmd
    self.assertTrue(os.path.exists(migration_file))
AssertionError: False is not true

----------------------------------------------------------------------
}}}

The issue is that the following migration files get created:

{{{
$ ls tests/migrations/migrations_21/
0001_my_custom_migration.py  0001_my_initial_migration.py __init__.py
}}}

Note that `my_custom_migration.py` starts with `0001_` whereas it should start with `0002_`. I'm unsure why this wasn't detected by the CI builds. Perhaps there's something broken in my environment but I really don't see what that could be.

Again, this works for me in 2.7 but fails in Python 3."	Bug	closed	Migrations	dev	Normal	fixed		info+coding@… cmawebsite@…	Ready for checkin	1	0	0	0	0	0
