diff options
| -rw-r--r-- | test_isort.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test_isort.py b/test_isort.py index dd1c3f63..fb87545b 100644 --- a/test_isort.py +++ b/test_isort.py @@ -1450,3 +1450,7 @@ def test_comment_at_top_of_file(): "# Comment two\n" "from django.contrib.gis.geos import GEOSException\n") assert SortImports(file_contents=test_input).output == test_input + + test_input = ("# -*- coding: utf-8 -*-\n" + "from django.db import models\n") + assert SortImports(file_contents=test_input).output == test_input |
