Skip to content

gh-131178: Add CLI tests for profile module #134103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
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
Next Next commit
remove args
  • Loading branch information
ShauryaDusht committed May 16, 2025
commit 5501828500edac98b6a82606a9286d77dd24fa60
4 changes: 2 additions & 2 deletions Lib/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ def f(m, f1=f1):

#****************************************************************************

def main(args=None):
def main():
import os
from optparse import OptionParser

Expand All @@ -570,7 +570,7 @@ def main(args=None):
parser.print_usage()
sys.exit(2)

(options, args) = parser.parse_args(args)
(options, args) = parser.parse_args()
sys.argv[:] = args

# The script that we're profiling may chdir, so capture the absolute path
Expand Down
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy