File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -202,10 +202,15 @@ def is_log_grouping_enabled(options: Parsed) -> bool:
202
202
203
203
# The parallel option is not always defined (e.g., `tox run`) so we should check
204
204
# its existence first.
205
- # As --parallel-live option doesn't seems to be working correctly,
205
+ # As --parallel-live option doesn't seem to be working correctly,
206
206
# this condition is more conservative compared to the plugin for tox 3.
207
- if hasattr (options , "parallel" ) and options .parallel > 0 :
208
- return False
207
+ if hasattr (options , "parallel" ):
208
+ if options .parallel > 0 :
209
+ # Case for `tox p` or `tox -p <num>`
210
+ return False
211
+ elif options .parallel is None :
212
+ # Case for `tox -p`
213
+ return False
209
214
210
215
return True
211
216
You can’t perform that action at this time.
0 commit comments