mirror of
https://github.com/django/django.git
synced 2025-10-25 22:56:12 +00:00
[1.11.x] Renamed "Mac OS X" to "macOS" in docs.
Backport of 5e8625ba64 from master
This commit is contained in:
committed by
Tim Graham
parent
6cbfaba178
commit
7eecf496ee
@@ -687,7 +687,7 @@ class MakeMigrationsTests(MigrationTestBase):
|
||||
with self.temporary_migration_module(module=module) as migration_dir:
|
||||
if hasattr(importlib, 'invalidate_caches'):
|
||||
# Python 3 importlib caches os.listdir() on some platforms like
|
||||
# Mac OS X (#23850).
|
||||
# macOS (#23850).
|
||||
importlib.invalidate_caches()
|
||||
call_command('makemigrations', 'migrations', '--empty', '-n', 'a', '-v', '0')
|
||||
self.assertTrue(os.path.exists(os.path.join(migration_dir, '0002_a.py')))
|
||||
@@ -1222,7 +1222,7 @@ class MakeMigrationsTests(MigrationTestBase):
|
||||
self.assertIn("dependencies=[\n]", content)
|
||||
|
||||
# Python 3 importlib caches os.listdir() on some platforms like
|
||||
# Mac OS X (#23850).
|
||||
# macOS (#23850).
|
||||
if hasattr(importlib, 'invalidate_caches'):
|
||||
importlib.invalidate_caches()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user