File: drop_tomli.patch

package info (click to toggle)
python-tomli-w 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,476 kB
  • sloc: python: 614; makefile: 5
file content (32 lines) | stat: -rw-r--r-- 523 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Forwarded: no, this will never be accepted

--- a/tests/test_for_profiler.py
+++ b/tests/test_for_profiler.py
@@ -10,7 +10,7 @@
 import os
 from pathlib import Path
 
-import tomli
+import tomllib as tomli
 
 import tomli_w
 
--- a/tests/test_style.py
+++ b/tests/test_style.py
@@ -1,4 +1,4 @@
-import tomli
+import tomllib as tomli
 
 import tomli_w
 
--- a/tests/test_valid.py
+++ b/tests/test_valid.py
@@ -4,7 +4,7 @@
 from typing import Union
 
 import pytest
-import tomli
+import tomllib as tomli
 
 import tomli_w