summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichiel Beijen <mb@x14.nl>2017-04-23 22:06:12 +0200
committerTim Graham <timograham@gmail.com>2017-04-24 20:51:55 -0400
commit7eecf496eecdf9ce1227e0ea517d32880e3300d9 (patch)
treef213d2fb894edb8c5eeb19ca960547eb84beae1a /tests
parent6cbfaba1787b17752361ae4de1fff8d0acfe62f1 (diff)
[1.11.x] Renamed "Mac OS X" to "macOS" in docs.
Backport of 5e8625ba643db118a44cb32e9e48bf431ef4da53 from master
Diffstat (limited to 'tests')
-rw-r--r--tests/migrations/test_commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/migrations/test_commands.py b/tests/migrations/test_commands.py
index fa2a8a23fd..a9701a3112 100644
--- a/tests/migrations/test_commands.py
+++ b/tests/migrations/test_commands.py
@@ -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()