Skip to content

Re-enable nskip-049 tests - #890

Merged
ppenna merged 1 commit into
nanvix/v3.12.3from
nskip-fix/049
Aug 19, 2026
Merged

ppenna merged 1 commit into
nanvix/v3.12.3from
nskip-fix/049

Conversation

@ada-x64

@ada-x64 ada-x64 commented Aug 19, 2026 •

Copy link
Copy Markdown

Re-enables NSKIP049
Closes #529

Copilot AI lite review requested due to automatic review settings August 19, 2026 15:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR re-enables the previously skipped Nanvix-related os.utime() “current time” tests in Lib/test/test_os.py by removing the NSKIP049 skip decorators, restoring those test cases to run normally.

Changes:

  • Removed @unittest.skipIf(support.is_nanvix, ...) for test_utime_current().
  • Removed @unittest.skipIf(support.is_nanvix, ...) for test_utime_current_old().

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Copilot AI review requested due to automatic review settings August 19, 2026 21:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review details

Suppressed comments (1)

Lib/test/test_os.py:941

  • Same as above: this helper ignores its filename parameter and hard-codes self.fname. Using the argument matches the pattern used by other set_time() helpers and avoids surprising callers.
    def test_utime_current_old(self):
        def set_time(filename):
            # Set to the current time in the old explicit way.
            os.utime(self.fname, None)
        self._test_utime_current(set_time)
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread Lib/test/test_os.py
Comment on lines 931 to 935
def test_utime_current(self):
def set_time(filename):
# Set to the current time in the new way
os.utime(self.fname)
self._test_utime_current(set_time)
@ppenna
ppenna merged commit 122147f into nanvix/v3.12.3 Aug 19, 2026
14 checks passed
@ppenna
ppenna deleted the nskip-fix/049 branch August 19, 2026 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[NSKIP049] os.utime(path, None) raises EINVAL on Nanvix

3 participants