mirror of
https://github.com/django/django.git
synced 2025-10-17 05:47:44 +00:00
Renamed "Mac OS X" to "macOS" in docs.
This commit is contained in:
parent
9f2e8b5bb7
commit
5e8625ba64
11 changed files with 41 additions and 44 deletions
|
@ -672,7 +672,7 @@ class MakeMigrationsTests(MigrationTestBase):
|
|||
module = 'migrations.test_migrations_order'
|
||||
with self.temporary_migration_module(module=module) as migration_dir:
|
||||
if hasattr(importlib, 'invalidate_caches'):
|
||||
# importlib caches os.listdir() on some platforms like Mac OS X
|
||||
# importlib caches os.listdir() on some platforms like macOS
|
||||
# (#23850).
|
||||
importlib.invalidate_caches()
|
||||
call_command('makemigrations', 'migrations', '--empty', '-n', 'a', '-v', '0')
|
||||
|
@ -1200,7 +1200,7 @@ class MakeMigrationsTests(MigrationTestBase):
|
|||
content = cmd("0001", migration_name_0001)
|
||||
self.assertIn("dependencies=[\n]", content)
|
||||
|
||||
# importlib caches os.listdir() on some platforms like Mac OS X
|
||||
# importlib caches os.listdir() on some platforms like macOS
|
||||
# (#23850).
|
||||
if hasattr(importlib, 'invalidate_caches'):
|
||||
importlib.invalidate_caches()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue