Skip to content

Commit

Permalink
add test files
Browse files Browse the repository at this point in the history
  • Loading branch information
HAOCHENYE committed Jul 7, 2023
1 parent 88d868a commit a36632b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/data/config/lazy_module_config/test_mix_builtin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Copyright (c) OpenMMLab. All rights reserved.
import os.path as osp
from itertools import chain
from os.path import splitext

import numpy as np
from torch.nn import Linear

path = osp.join('a', 'b')
name, suffix = splitext('a/b.py')
chained = list(chain([1, 2], [3, 4]))

0 comments on commit a36632b

Please sign in to comment.