Skip to content

Commit e86c7f7

Browse files
committed
Just add the first two
1 parent 5d40ced commit e86c7f7

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Lib/test/test__colorize.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ def check(env, fallback, expected):
5151

5252
check({'TERM': 'dumb', 'FORCE_COLOR': '1'}, False, True)
5353
check({'FORCE_COLOR': '1', 'NO_COLOR': '1'}, True, False)
54-
check({'FORCE_COLOR': '1', 'NO_COLOR': ''}, True, True)
55-
check({'FORCE_COLOR': '', 'NO_COLOR': '1'}, True, False)
56-
check({'FORCE_COLOR': '', 'NO_COLOR': ''}, True, True)
5754

5855
for ignore_environment in False, True:
5956
# Simulate running with or without `-E`.
@@ -69,9 +66,7 @@ def check(env, fallback, expected):
6966

7067
check({'TERM': 'dumb', 'PYTHON_COLORS': '1'}, False, not ignore_environment)
7168
check({'NO_COLOR': '1', 'PYTHON_COLORS': '1'}, False, not ignore_environment)
72-
check({'NO_COLOR': '', 'PYTHON_COLORS': '1'}, False, not ignore_environment)
7369
check({'FORCE_COLOR': '1', 'PYTHON_COLORS': '0'}, True, ignore_environment)
74-
check({'FORCE_COLOR': '', 'PYTHON_COLORS': '0'}, True, ignore_environment)
7570

7671
@unittest.skipUnless(sys.platform == "win32", "requires Windows")
7772
def test_colorized_detection_checks_on_windows(self):

0 commit comments

Comments
 (0)