mirror of
https://github.com/Textualize/rich.git
synced 2025-12-23 07:08:35 +00:00
11 lines
No EOL
300 B
Python
11 lines
No EOL
300 B
Python
# test_my_fix.py
|
|
import pathlib
|
|
from rich.pretty import pprint
|
|
|
|
# Create a Path object to test
|
|
my_file_path = pathlib.Path("./my_folder/my_script.py")
|
|
|
|
# This will use the code you just modified!
|
|
print("--- Running test with the fix ---")
|
|
pprint(my_file_path)
|
|
print("-------------------------------") |