Skip to content

Commit 47cfb5b

Browse files
authored
fix: _is_travis
1 parent 868d923 commit 47cfb5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frameworks/Python/blacksheep/app-socketify.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ async def plaintext_test(request):
125125
if platform.python_implementation() == 'PyPy':
126126
from socketify import ASGI
127127
workers = int(multiprocessing.cpu_count())
128-
if _is_travis:
128+
if os.environ.get('TRAVIS') == 'true':
129129
workers = 2
130130

131131
def run_app():

0 commit comments

Comments
 (0)