File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 2929 'magenta' : Fore .MAGENTA ,
3030 'cyan' : Fore .CYAN ,
3131 'white' : Fore .WHITE ,
32- 'reset' : Fore .RESET ,
3332 'bright_black' : Fore .LIGHTBLACK_EX ,
3433 'bright_red' : Fore .LIGHTRED_EX ,
3534 'bright_green' : Fore .LIGHTGREEN_EX ,
3837 'bright_magenta' : Fore .LIGHTMAGENTA_EX ,
3938 'bright_cyan' : Fore .LIGHTCYAN_EX ,
4039 'bright_white' : Fore .LIGHTWHITE_EX ,
40+ 'reset' : Fore .RESET ,
4141}
4242
4343# Background color presets
5050 'magenta' : Back .MAGENTA ,
5151 'cyan' : Back .CYAN ,
5252 'white' : Back .WHITE ,
53- 'reset' : Back .RESET ,
5453 'bright_black' : Back .LIGHTBLACK_EX ,
5554 'bright_red' : Back .LIGHTRED_EX ,
5655 'bright_green' : Back .LIGHTGREEN_EX ,
5958 'bright_magenta' : Back .LIGHTMAGENTA_EX ,
6059 'bright_cyan' : Back .LIGHTCYAN_EX ,
6160 'bright_white' : Back .LIGHTWHITE_EX ,
61+ 'reset' : Back .RESET ,
6262}
6363
6464FG_RESET = FG_COLORS ['reset' ]
Original file line number Diff line number Diff line change @@ -245,7 +245,8 @@ def test_proc_reader_terminate(pr_none):
245245 else :
246246 assert ret_code == - signal .SIGTERM
247247
248- @pytest .mark .skipif (sys .platform == 'linux' , reason = "Test doesn't work correctly on TravisCI" )
248+ @pytest .mark .skipif (not sys .platform .startswith ('win' ),
249+ reason = "Test doesn't work correctly on TravisCI and is unreliable on Azure DevOps macOS" )
249250def test_proc_reader_wait (pr_none ):
250251 assert pr_none ._proc .poll () is None
251252 pr_none .wait ()
You can’t perform that action at this time.
0 commit comments