Skip to content

issues Search Results · repo:pytest-dev/unittest2pytest language:Python

Filter by

38 results
 (106 ms)

38 results

inpytest-dev/unittest2pytest (press backspace or delete to remove)

Latest unittest2pytest can t run on Python 3.12 due to missing lib2to3 dep: $ unittest2pytest Traceback (most recent call last): File /home/giampaolo/.local/bin/unittest2pytest , line 5, in module ...
  • giampaolo
  • 1
  • Opened 
    on Apr 4
  • #82

From looking at my inbox + the PR list, these were closed 1 hour ago - [x] #55 - nicoddemus reopened with #73 - [ ] #47 - someone else s so I haven t touched it - [x] #48 - I reopened with #75 ...
  • Code0x58
  • 2
  • Opened 
    on Dec 7, 2024
  • #77

@RonnyPfannschmidt @The-Compiler could you please give me admin access on PyPI? I wanted to setup a deploy workflow and trusted publisher.
  • nicoddemus
  • 1
  • Opened 
    on Dec 7, 2024
  • #74

Hello. I ve been using this nice tool to convert psutil and pyftpdlib code bases. One of the few things that are left out from the conversion are @unittest.skipIf and @unittest.skipUnless decorators, which ...
  • giampaolo
  • Opened 
    on Jun 21, 2024
  • #68

In my work on https://github.com/certbot/certbot/pull/9585, unittest2pytest rewrote these lines: self.assertAlmostEqual(mock_sleep.call_args_list[1][0][0], interval - 1, delta=1) self.assertAlmostEqual(mock_sleep.call_args_list[2][0][0], ...
  • bmw
  • 1
  • Opened 
    on Feb 15, 2023
  • #67

The replacement for self.assertAlmostEqual(3, 3.0) is round(abs(3 - 3.0), 7) == 0. How about replacing it with pytest.approx(3) == 3.0 instead? [pytest docs]
  • janosh
  • 1
  • Opened 
    on Aug 6, 2022
  • #63

❯ unittest2pytest git_machete/tests/functional/test_machete.py RefactoringTool: Can t parse git_machete/tests/functional/test_machete.py: ParseError: bad input: type=22, value= = , context=( , (62, 54)) ...
  • AABur
  • 2
  • Opened 
    on Apr 20, 2022
  • #60

i love pytest, and did a few large scale unittest - pytest conversions at work. hurrah! while unittest2pytest is awesome, it was missing a few features. i was going to diff those in, but using lib2to3 ...
  • dannysepler
  • 1
  • Opened 
    on Dec 27, 2021
  • #58

I m trying to package your module as an rpm package. So I m using the typical build, install and test cycle used on building packages from non-root account. - setup.py build - setup.py install --root ...
  • kloczek
  • Opened 
    on Sep 5, 2021
  • #56

As https://www.python.org/dev/peps/pep-0584/#dict-d1-d2 points out, [dict(d1, **d2)] only works when d2 is entirely string-keyed d1 = { spam : 1} d2 = {3665: 2} dict(d1, **d2) Traceback (most ...
  • verhovsky
  • Opened 
    on May 31, 2021
  • #54
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub