Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
use os module
  • Loading branch information
kumaraditya303 committed Dec 26, 2022
commit 014d14c647f52f1c6c83c684898c55d5388e3733
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@

import asyncio
from pyperf import Runner
from pathlib import Path
import ssl

import os

CHUNK_SIZE = 1024 ** 2 * 10
# Taken from CPython's test suite
SSL_CERT = Path(__file__).parent / 'ssl_cert.pem'
SSL_KEY = Path(__file__).parent / 'ssl_key.pem'
SSL_CERT = os.path.join(os.path.dirname(__file__), 'ssl_cert.pem')
SSL_KEY = os.path.join(os.path.dirname(__file__), 'ssl_key.pem')


async def handle_echo(reader: asyncio.StreamReader,
Expand Down