darrenburns / ward

Ward is a modern test framework for Python with a focus on productivity and readability.
https://ward.readthedocs.io
MIT License
1.21k stars 53 forks source link

Borders on output hide debug info #355

Open bsa7 opened 1 year ago

bsa7 commented 1 year ago

Hellow, i'm novice in python and ward. I'm stuck on that problem: on Github tests fails and i cant see variable full value because right borders strip output:

 │ ╰──────────────────────────────────────────────────────────────────────╯ │  
  │                                                                          │  
  │ /opt/hostedtoolcache/Python/3.10.8/x64/lib/python3.10/site-packages/i18n │  
  │ /resource_loader.py:23 in load_resource                                  │  
  │                                                                          │  
  │    20 def load_resource(filename, root_data):                            │  
  │    21 │   extension = os.path.splitext(filename)[1][1:]                  │  
  │    22 │   if extension not in loaders:                                   │  
  │ ❱  23 │   │   raise I18nFileLoadError("no loader available for extension │  
  │    24 │   return getattr(loaders[extension], "load_resource")(filename,  │  
  │    25                                                                    │  
  │    26                                                                    │  
  │                                                                          │  
  │ ╭─────────────────────────────── locals ───────────────────────────────╮ │  
  │ │ extension = 'yml'                                                    │ │  
  │ │  filename = '/home/runner/work/pretrained-app/pretrained-app/api/co… │ │  <<<<< Here right borders eats info
  │ │ root_data = 'en'                                                     │ │  
  │ ╰──────────────────────────────────────────────────────────────────────╯ │  
  ╰──────────────────────────────────────────────────────────────────────────╯  
  I18nFileLoadError: no loader available for extension yml                      

Would you explain, how to disable borders or increase width of output?